Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: web项目升级到webpack5 #447

Open
wants to merge 983 commits into
base: main
Choose a base branch
from
Open

Conversation

uicheung
Copy link

@uicheung uicheung commented Dec 6, 2023

web项目升级到webpack5#446

已经在本地开发和打包测试通过

本次修改了三个文件

  1. vue.config.js :
    "stream": require.resolve('stream-browserify')
    原因 :一些 Node.js 内置模块(如 stream、process 等) webpack5需要显式引入,项目的依赖包中有用到stream模块

  2. package.json:
    手动设置webpack的版本和相关依赖,调整vue-cli脚手架的依赖

  3. package-lock.json:
    package.json内依赖的升级,对应锁文件内一些依赖的版本变动

wanglin2 and others added 25 commits November 22, 2023 16:23
@wanglin2
Copy link
Owner

wanglin2 commented Dec 8, 2023

修改了一下历史提交记录,可能要麻烦你重新fork然后提交,提交时需要提交到feature分支

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants